package com.winshare.saleAssistant.domain.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel
public class MenuDTO {

    @ApiModelProperty(value = "菜单Id")
    private Integer id;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "上级菜单id")
    private Integer parentMenuId;

    @ApiModelProperty(value = "上级菜单名称")
    private String parentMenuName;

    @ApiModelProperty(value = "菜单链接")
    private String link;

    @ApiModelProperty(value = "子菜单集合")
    private List<MenuDTO> childMenuTreeDTOList;

    public MenuDTO() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getParentMenuId() {
        return parentMenuId;
    }

    public void setParentMenuId(Integer parentMenuId) {
        this.parentMenuId = parentMenuId;
    }

    public String getParentMenuName() {
        return parentMenuName;
    }

    public void setParentMenuName(String parentMenuName) {
        this.parentMenuName = parentMenuName;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public List<MenuDTO> getChildMenuTreeDTOList() {
        return childMenuTreeDTOList;
    }

    public void setChildMenuTreeDTOList(List<MenuDTO> childMenuTreeDTOList) {
        this.childMenuTreeDTOList = childMenuTreeDTOList;
    }
}
